﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.DtoModel.Contract;
using SystemCenterSoa.PoModel.ContractModel;

namespace SystemCenterSoa.IRepository.ContractManger
{
    public interface ContractIRepository
    {
        bool ContractAdd(ContractPo info);

        bool AgreementAdd(AgreementPo info);

        List<Contype> GetContype();

        List<StructurePo> GetStruct();

        List<ArchitecturePo> GetArchite();

        PagerResult<ContractPo> GetContract(SearchModel searchModel);

        List<AgreementPo> GetAgreelast();

        AgreementPo LastCha(int id);

        ContractPo FanAgree(int id);

        bool UpdateContr(ContractPo info);
    }
}
